package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description: 书籍
 * @Author: Qiuyan
 * @Date: 2025-04-13 09:56
 * @Version： 1.0
 **/

/**
 * 书籍实体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long bookId;        //书籍id
    private String audioFileUrl; //音频文件URL
    private String author;      //作者
    private String availabilityStatus; //可用状态（Available,Lent,Reserved）
    private String bookCode;    //书籍编号
    private String bookName;    //书籍名称
    private String fictionNonfiction; //小说类型（Fiction,NonFiction）
    private Boolean hasQuiz;    //是否有测验
    private BigDecimal level;   //等级
    private Integer pages;      //页数
    private Integer stock;      //库存
    private Integer words;      //字数
    private Integer seriesId;   //系列id
    private Long categoryId;    //分类id
    
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUser;
    private Long updateUser;
}
